package cn.tedu.ems.studyfile.mapper;

import cn.tedu.ems.studyfile.pojo.dto.*;
import cn.tedu.ems.studyfile.pojo.vo.StudyFileVO;
import cn.tedu.ems.studyfile.pojo.entity.StudyRelease;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApplicationMapper {


    List<CategoryListDTO> selectfile();

    List<StudyFileVO> selectListsTitleStateArticleVideoCategoryId(SearchFor searchFor);

    void insertRelease(StudyRelease studyRelease);

    StudyFileVO selectById(Integer id);

    String selectState(Integer id);


    void updateState(StateDTO stateDTO);


    boolean updateArticle(StudyUpdateArticle studyUpdateArticle);


    boolean updateDeleteTime(StudyDeleteDTO studyDeleteDTO);
}
